Skip to main content
Glama

get rss feed

Generate RSS feeds from TabNews content using the MCP TabNews Integration server. Extract updates, articles, and posts for streamlined content tracking and integration.

Instructions

To get the rss feed from tabnews

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Defines and exports the MCP tool named 'get rss feed', including name, description, empty parameters schema, and handler function that calls the getRssFeed service and formats the response.
    export const getRssFeedTool = { name: "get rss feed", description: "To get the rss feed from tabnews", parameters: {}, handler: async (): Promise<McpResponse> => { try { const result = await getRssFeed(); const content: McpTextContent = { type: "text", text: `RSS Feed:\n\n${result}`, }; return { content: [content], }; } catch (error) { if (error instanceof Error) { throw new Error(`Failed to get rss feed: ${error.message}`); } else { throw new Error("Failed to get rss feed"); } } }, };
  • The handler function that executes the tool logic: fetches RSS feed using service, wraps in McpTextContent, handles errors.
    handler: async (): Promise<McpResponse> => { try { const result = await getRssFeed(); const content: McpTextContent = { type: "text", text: `RSS Feed:\n\n${result}`, }; return { content: [content], }; } catch (error) { if (error instanceof Error) { throw new Error(`Failed to get rss feed: ${error.message}`); } else { throw new Error("Failed to get rss feed"); } } },
  • Core helper function that performs the HTTP fetch to retrieve the RSS feed from the TabNews API endpoint.
    export async function getRssFeed(): Promise<string> { const response = await fetch(`${TABNEWS_API_URL}/contents/rss`); const data = await response.text(); return data; }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/renant/mcp-tabnews'

If you have feedback or need assistance with the MCP directory API, please join our Discord server